package com.northwind.service;

import com.northwind.entity.User;
import com.northwind.entity.Video;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;

public interface VideoService {
    /** 查所有 */
    HashMap<String, Object> queryAllPage (Integer page,Integer rows);
    /** 修改 */
    void update(Video video);
    /** 添加 */
    String add(Video video);
    /** 删除 */
    void delete(Video video);
    /** oss文件上传 */
    HashMap<String, Object> fileUploadByAliyun(MultipartFile videoPath,String userId);

}
